<div id='header'>
    <div class='sub'>
    </div>
    <div class='main'>
        <div class='logo'>
            <a href='{% url main %}'>Django360</a>
        </div>
        <div class='auth'>
 			{% if islogged and not isAnon %}
                Welcome, <a href='{% url community-profile community_user.id community_user.linked_profile.display_name %}'>{{community_user.linked_profile.display_name}}</a> |
                <a href='{% url community-logout %}?redirect={{path}}'>Logout</a>
            {% else %}
                <a href='{% url community-combined-login %}?redirect={{path}}'>Login</a> |
                <a href='{% url community-logout %}?redirect={{path}}'>Logout</a>
            {% endif %}
        </div>
    </div>
    <ul id='header_nav' class='nav'>
        <li {% ifequal site_section "features" %}class='selected'{% endifequal %}><a href='{% url requests "Feature","newest" %}'>Feature Requests</a></li>
        <li {% ifequal site_section "bugs" %}class='selected'{% endifequal %}><a href='{% url requests "Bug","newest" %}'>Bug Reports</a></li>
        <li {% ifequal site_section "completed_features" %}class='selected'{% endifequal %}><a href='{% url requests "Feature","completed" %}'>Completed Features</a></li>
        <li {% ifequal site_section "closed_bugs" %}class='selected'{% endifequal %}><a href='{% url requests "Bug","completed" %}'>Closed Bugs</a></li>
        <li class='right {% ifequal site_section "submit" %}selected{% endifequal %}'><a href='{% url submit %}'>Submit</a></li>
        <li class='right {% ifequal site_section "about" %}selected{% endifequal %}'><a href='{% url info-about %}'>About</a></li>
    </ul>
</div>
